﻿<Window x:Class="MoneyManagerNET.Presentation.View.TransactionView"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        Title="EditTransaction" Height="298" Width="504"
        mc:Ignorable="d" 
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        
        xmlns:vm="clr-namespace:MoneyManagerNET.Presentation.ViewModel;assembly=MoneyManagerNET.Presentation.ViewModel" 
        d:DataContext="{x:Static Member=vm:DesignTimeViewModelSupplier.Transaction}"
        
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        
        xmlns:view="clr-namespace:MoneyManagerNET.Presentation.View" >
    
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="*" />
            <RowDefinition Height="auto" />
        </Grid.RowDefinitions>
        <view:TransactionControl  />
        <StackPanel HorizontalAlignment="Right" Orientation="Horizontal" Grid.Row="1">
        <Button  Click="Ok_Click" IsDefault="True">
        	<Button.Foreground>
        		<SolidColorBrush Color="{DynamicResource Green}"/>
        	</Button.Foreground>Ok</Button>
        <Button Click="Cancel_Click" IsCancel="True">
        	<Button.Foreground>
        		<SolidColorBrush Color="{DynamicResource Red}"/>
        	</Button.Foreground>Cancel</Button>
</StackPanel>
    </Grid>
</Window>
